FROM node:8.9

ARG arg1

RUN echo "Build args: $arg1"
RUN echo "Build args: $ENV"

RUN npm install -g cnpm --registry=https://registry.npm.taobao.org

RUN mkdir /app

WORKDIR /app

COPY . ./

RUN cnpm install

EXPOSE 3000

CMD ["npm", "start"] 